<script>
export default {
  components: {},
  name: "",
  data() {
    return {};
  },
  props: {},
  setup() {},
  methods: {},
  mounted() {},
  beforeRouteEnter(to, from, next) {
    console.log(from);
    if (from.query.page) {
      localStorage.setItem("boot_page", from.query.page);
    } else {
      localStorage.setItem("boot_page", 1);
    }
    next();
  },
  created() {},
};
</script>
<template>
  <router-view />
</template>
<style scoped lang="less"></style>
